<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="<?php echo ($sets->keyword); ?>" />
<meta name="description" content="<?php echo ($sets->description); ?>" />
<link rel="stylesheet" href="__ROOT__/Tpl/Public/css/reg.css" />
<script type="text/javascript" src="__ROOT__/Public/Jquery/jquery.js"></script>
<script type="text/javascript" src="__ROOT__/Tpl/Public/js/header.js"></script>
<title>三原县信息网 -- 用户登录</title>
</head>
<body>
<link rel="stylesheet" href="__ROOT__/Tpl/Public/css/basic.css" />
<div id="header">
    <div class="top">
        <strong>三原县</strong>
        <?php if(isset($_COOKIE['user'])): ?><span>欢迎,<b style="color:green;"><?php echo (cookie('user')); ?></b> <a href="__ROOT__/member.php">用户中心</a>|<a href="__ROOT__/User/logout">退出</a></span>
        <?php else: ?>
        <span><a href="<?php echo U('/User/reg');?>">注册</a> | <a href="<?php echo U('/User/login');?>">登陆</a></span><?php endif; ?>
    </div>
    <div class="body">
        <div class="logo"><a href="/"><img src="__ROOT__/Tpl/Public/images/logo.gif" alt="网站logo"/></a></div>
        <div class="search">
            <form method="get" action="__ROOT__/Search/index/" class="search">
                <ul>
                    <li class="first"><span>信息</span><img src="__ROOT__/Tpl/Public/images/arrow.png" /></li>
                    <li class="show"><a href="#" title="1">信息</a></li>
                    <li class="show"><a href="#" title="2">新闻</a></li>
                </ul>
                <input type="hidden" name="type" id="type" value="1"/><input type="text" name="keyword" class="stext" value="<?php echo ($_GET['keyword']); ?>" /> <input type="submit" value="搜索" class="sub" />
            </form>
        </div>
        <div class="toppost">
            <a href="<?php echo U('/Post/index');?>" style="color:orange;">免费发布信息</a>
            <a href="__ROOT__/member.php/Index/myInfo" style="color:#666;" class="u">修改删除信息</a>
        </div>
    </div>
</div>
<div id="category">
    <ul>
        <li><a href="/">首页</a></li>
        <li><a href="<?php echo U('/News');?>">新闻资讯</a></li>
        <?php if(is_array($teninfonav)): $i = 0; $__LIST__ = $teninfonav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$value): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('/Category/index','id='.$value['id']);?>"><?php echo ($value["name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
        <li><a href="<?php echo U('/About');?>">关于本站</a></li>
    </ul>
</div>   

<div id="main" style="height:650px;">
    <h2>重 置 密 码</h2>
    <p class="t">填写用户名及对应邮箱</p>
    <form method="post" class="reg">
        <dl>
            <dd>用 户  名：<input type="text" name="name" class="text"/> <span class="require">填写注册时用户名</span></dd>
            <dd>电子邮箱：<input type="text" name="email" class="text"/> <span class="require">填写注册时的邮箱</span></dd>
            <dd>问题回答：<select name="ques" class="select">
                          <option value="你最喜欢的格言？">你最喜欢的格言？</option>
                          <option value="你最喜欢的美食？">你最喜欢的美食？</option>
                          <option value="你的出生地？">你的出生地？</option>
                          <option value="你的父亲的名字?">你的父亲的名字?</option>
                       </select>
            　　               　　 <span class="require">选择注册时的密码问题</span></dd>
            <dd>密码问题：<input type="text" name="ans" class="text"/> <span class="require">回答注册时的密码问题</span></dd>
            <dd>新 密 码：<input type="password" name="pass" class="text"/> <span class="require">输入新密码(至少六位)</span></dd>
            <dd>再次输入：<input type="password" name="notpass" class="text"/> </dd>
            <dd class="c">验 证 码：<input type="text" name="checkcode" class="check"/> <img src="__ROOT__/index.php/Public/checkCode" style="position:relative;top:10px;" onclick="this.src='__ROOT__/index.php/Public/checkCode/id/'+Math.random();"></dd>
            <dd><input type="submit" name="send" value="提交并登陆" class="sub"/></dd>
        </dl>
    </form>
</div>
<div id="flinks">
    <h2>友情链接</h2>  
    <ul>
        <?php if(is_array($flinks)): $i = 0; $__LIST__ = $flinks;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$value): $mod = ($i % 2 );++$i;?><li><a href="<?php echo ($value["url"]); ?>" target="_blank"><?php echo ($value["name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>  
</div>
<div id="footer">
    <p>©三原县信息网 晋 ICP备12009119号</p>
    <p>Powered by 信息网 xxx.xxxx.xx</p>
</div>

</body>
</html>